package cate.common.table.farm.island.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("雇佣食灵")
public class IslandAidHeroRow extends ERow {

    @NoteField("阵营")
    public byte camp;

    @NoteField("英雄原型id")
    public int protoId;

    @NoteField("权重")
    public double weight;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID",0);
        this.camp = xrw.getByte("阵营",(byte)0);
        this.protoId = xrw.getInteger("英雄原型ID",0);
        this.weight =xrw.getDouble("权重", 0d);
    }


    @Override
    public void decode(){

    }
}
